-- GENERATED SPELL FOR [Angershade] --


function spell0_15656(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_15656', 678, 1)
end

function Sorts_15656(pUnit, Event)
local choix_sorts_15656 = math.random(0, 0)
if choix_sorts_15656 == 0 then
pUnit:RegisterEvent('spell0_15656', 1, 1)
end
end

function mob15656_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15656', math.random(1500, 3000), 1)
end

function mob15656_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15656_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15656_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15656, 1, 'mob15656_Action')
RegisterUnitEvent(15656, 2, 'mob15656_Leave')
RegisterUnitEvent(15656, 3, 'mob15656_Kill')
RegisterUnitEvent(15656, 4, 'mob15656_Die')
